package com.project.service;

import com.github.pagehelper.PageInfo;
import com.project.bean.RoomBean;

public interface IRoomService {
    public static final int PAGESIZE = 3;

    public void add(RoomBean roomBean);
    public void del(int id);
    public void update(int id,int price);
    public RoomBean findById(int id);
    public PageInfo<RoomBean> findByItem(int pageNo,
                                         String address,
                                         Integer startPrice, Integer endPrice);
}
